<div style="overflow-x:auto;">
<table class="list" style="width:1500px;">
  <tr>
    <th width="3%">序号</th>
    <th width="5%">门店名称</th>
    <th width="6%">合同编号</th>
    <th width="5%">销售日期</th>
    <th width="5%">销售类型</th>
    <th width="5%">状态</th>
    <th width="11%">课程</th>
    <th width="7%">教练</th>
    <th width="5%">总课时</th>
    <th width="5%">预约课时</th>
    <th width="5%">核销课时</th>
    <th width="5%">剩余课时</th>
    <th width="5%">金额</th>
    <th width="5%">开始日期</th>
    <th width="5%">结束日期</th>
    <th width="5%">终止日期</th>
    <th width="5%">终止原因</th>
    <th width="10%">销售员</th>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td class="no">${c_index+1}</td>
    <td><@value type="shopName" key="${c.shopCode!}"/></td>
    <td>${c.contractCode!}</td>
    <td>${c.saleDate!}</td>
    <td><@value type="ptSaleType" key="${c.saleType!}"/></td>
    <td><#if c.outType?? && c.outType?length!=0><@value type="ptOutType" key="${c.outType!}"/><#else><#if c.status=1>正常<#elseif c.status=2>待审批<#elseif c.status=3>已过期</#if></#if></td>
    <td>${c.ptCode!}-<@value type="ptItemName" key="${c.ptCode!}"/></td>
    <td>${c.coachCode!}-<@value type="ptCoachName" key="${c.coachCode!}"/></td>
    <td>${c.quantity!}</td>
    <td>${c.bespeakQuantity!}</td>
    <td>${c.clearQuantity!}</td>
    <td>${c.quantity-c.clearQuantity}</td>
    <td class="money">${c.factPrice!}</td>
    <td>${c.beginTime!}</td>
    <td>${c.endTime!}</td>
    <td>${c.outTime!}</td>
    <td><@value type="ptOutType" key="${c.outType!}"/></td>
    <td>${c.salesCode!}-<@value type="salesName" key="${c.salesCode!}"/><#if c.salesCode2?? && c.salesCode2?length!=0><br>${c.salesCode2!}-<@value type="salesName" key="${c.salesCode2!}"/></#if></td>
  </tr>
  </#list></#if>
</table>
</div>